<template>
  <div class="applyDetail">
    <el-dialog
      title="充值明细"
      :visible.sync="isVisible"
      @close="closeDialog"
      :close-on-click-modal="false"
      :close-on-press-escape="false"
      :modal-append-to-body="false"
      width="75%"
      centers
    >
      <el-table :data="dialogRow" height="520">
        <el-table-column property="username" label="用户名" width="60"></el-table-column>
        <el-table-column property="order_id" label="订单号" width="200"></el-table-column>
        <el-table-column property="cp_order_id" label="CP单号"></el-table-column>
        <el-table-column property="game_name" label="游戏名"></el-table-column>
        <el-table-column property="server_name" label="区服" width="120"></el-table-column>
        <el-table-column property="role_name" label="角色名" width="120"></el-table-column>
        <el-table-column property="role_id" label="角色ID"></el-table-column>
        <el-table-column property="amount" label="充值金额" width="80"></el-table-column>
        <el-table-column property="create_time" label="充值时间"></el-table-column>
      </el-table>
    </el-dialog>
  </div>
</template>
<script>
export default {
  name: "applyDetail",
  data() {
    return {
      isVisible: this.isShow,
    };
  },
  props: {
    isShow: Boolean,
    dialogRow:Array
  },
  methods: {
    closeDialog() {
      this.$emit("closeDialog");
    },
  },
};
</script>
<style lang="scss" scoped>
.cell {
  .el-button--mini,
  .el-button--mini.is-round {
    padding: 5px 6px !important;
  }
}
</style>